package cn.funeralobjects.minecraft.api.mapper;

import cn.funeralobjects.minecraft.api.model.SimplePlayerVo;
import cn.funeralobjects.minecraft.model.Player;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author FuneralObjects
 * Create date: 2021/5/5 10:52 PM
 */
@Mapper
public interface PlayerMapper {

    PlayerMapper INSTANCE = Mappers.getMapper(PlayerMapper.class);

    SimplePlayerVo toSimpleVo(Player player);

}
